package com.elric.mall.dto;

import java.util.Date;

/**
 * 实现功能：适配antd组件回显的文件dto
 *
 * @author 作者[Yuxuan.he]
 * @version 1.0.00  2021-10-26 18:05
 */
public class FileAntdDto {

    /**
     * 附件id
     */
    private String uid;

    /**
     * 附件名称
     */
    private String name;

    /**
     * 状态有：uploading done error removed，被 beforeUpload 拦截的文件没有 status 属性
     * 后端返回的附件默认为"done"
     */
    private String status = "done";

    private Date createTime;

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
